<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:fragment="footer" class="footer-grey footer-section">

</div>
<div th:fragment="copyrightDark"  class="copyright-dark copyright-section " style="
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
">
    <p>Copyright © [[${#dates.format(new java.util.Date().getTime(), 'yyyy')}]]. [[${@module.get('sysConfig').SITE_NAME}]] · Powered by <a href="" target="_blank" title="">szw</a> </p>
</div>
<div th:fragment="copyrightLight"  class="copyright-light copyright-section " style="
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
">
    <p>Copyright © [[${#dates.format(new java.util.Date().getTime(), 'yyyy')}]]. [[${@module.get('sysConfig').SITE_NAME}]] · Powered by <a href="" target="_blank" title="">szw</a> </p>
</div>
<div th:fragment="copyrightCommon"  class="copyright-common copyright-section" style="
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
">
    <script>
        /*加载底部前执行。ps：防止闪现
         控制当页面内容过少时，底部仍在屏幕最下方
         主体内容最小高度
         */
        var topHeight=56;//头部高度
        var footerHeight=57;//底部高度
        var contentMinHeight = $(window).height()-topHeight-footerHeight;
        $(".main-content").css("min-height",contentMinHeight)
        $(window).resize(function(){
            var contentMinHeight = $(window).height()-topHeight-footerHeight;
            $(".main-content").css("min-height",contentMinHeight)
        })
    </script>
    <p>Copyright © [[${#dates.format(new java.util.Date().getTime(), 'yyyy')}]]. [[${@module.get('sysConfig').SITE_NAME}]] · Powered by <a href="" target="_blank" title="">szw</a> </p>
</div>
<style>
    .place {
        position:absolute;
        left:0;
        bottom:0;
        width:100%;
    }
</style>
</html>